xen/arm32: mm: Avoid to zero and clean cache for CPU0 domheap
authorJulien Grall <julien.grall@arm.com>
Sun, 7 Apr 2019 19:59:22 +0000 (20:59 +0100)
committerJulien Grall <julien.grall@arm.com>
Thu, 6 Jun 2019 17:44:33 +0000 (18:44 +0100)
commit4bfb26e419b73c28a935cce14ac3a63be9f3c1ba
tree0edeea5cb1b052e319f19bd4c21fde89a18dee36
parent70f748021087b0cec613dbd9d06b127e3b0e60dc
xen/arm32: mm: Avoid to zero and clean cache for CPU0 domheap

The page-table walker is configured to use the same shareability and
cacheability as the access performed when updating the page-tables. This
means cleaning the cache for CPU0 domheap is unnecessary.

Furthermore, CPU0 page-tables are part of Xen binary and will already be
zeroed before been used. So it is pointless to zero the domheap again.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/mm.c